<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="top.jsp" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="static/css/bootstrap.min.css"/>
	<style type="text/css">
		.body{
			padding-top:60px;
		
		}
	
	</style>
</head>
<body class="body">
	
	 <div class="container">
		<div class="row">
		
			 <!-- 导入左侧部分 -->
		<jsp:include page="side.jsp">
			<jsp:param value="idea" name="tag"/>
		</jsp:include>
		
			
		<div class="span9">
			<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">
				<li class="active">
					<a href="idea.jsp"><i class="icon-fire"></i>想法</a>
				</li>
				<li class="pull-right"><i class="icon-plus"></i><a href="idea.jspx?m=new " class="link-black">发表想法</a></li>
			</ul>
			<div class="well" style="margin-top:0px;background-color:#FFF;border: 1px solid #DDDDDD;">
				<c:if test="${ fn:length(idealist)==0 }">
				还没有任何想法发表！
			</c:if>
				
				
				<c:forEach items="${idealist}"  var="idea">
				<blockquote>
				  <h4><a href="idea.jspx?m=show&ideaid=${idea.id}">${idea.title }</a></h4>
				  <p style="font-size:14px;line-height:1.5;">${idea.content}</p>
				  <small>${idea.user.name}   ${idea.createtime}</small>
				  
				  <a href="" title="编辑"><i class="icon-pencil"></i></a>
				  <a href="idea.jspx?m=deleteidea&id=${idea.id}" title="删除"><i class="icon-trash"></i></a>
				</blockquote>
				</c:forEach>
				<div class="pagination pull-right">
				  <ul>
					<li><a href="#">Prev</a></li>
					<li class="active">
					  <a href="#">1</a>
					</li>
					<li><a href="#">2</a></li>
					<li><a href="#">3</a></li>
					<li><a href="#">4</a></li>
					<li><a href="#">Next</a></li>
				  </ul>
				</div>
				
				<div class="clear"></div>
			</div>
		</div>
	  </div>
	</div>
</body>
</html>
		
		
			
			